//
//  CCTabbarChildViewController.m
//  MXApp
//
//  Created by CC on 2017/8/7.
//  Copyright © 2017年 Shanghai YingXiang Network Technology Co., Ltd. All rights reserved.
//

#import "CCTabbarChildViewController.h"
#import "UIButton+Lc.h"
#import "LcFoundation.h"

@interface CCTabbarChildViewController ()
@end

@implementation CCTabbarChildViewController

- (void)viewDidLoad {
  [super viewDidLoad];
}

- (void)viewWillAppear:(BOOL)animated {
  [super viewWillAppear:animated];
  self.navigationItem.leftBarButtonItem = self.leftBarButtonItem;
}

- (void)viewWillDisappear:(BOOL)animated {
  [super viewWillDisappear:animated];
}

- (void)viewDidAppear:(BOOL)animated {
  [super viewDidAppear:animated];
}

- (BOOL)isUseLightContentStatusBar {
  return self.preferredStatusBarStyle == UIStatusBarStyleLightContent;
}

- (UIBarButtonItem*)leftBarButtonItem {
  UIButton* button = [UIButton commonWhiteBackButtonWithTitle:@" " target:self action:nil];
  [button setImage:nil forState:UIControlStateNormal];
  [button setImage:nil forState:UIControlStateHighlighted];
  button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
  return [[UIBarButtonItem alloc] initWithCustomView:button];
}

#pragma mark - Tabbar Click
- (void)tabBarReClickedCurrentController {
}

- (void)tabBarSelectedCurrentController {
}

@end
